package com.jx.mlxg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName shipping_info
 */
@TableName(value ="shipping_info")
@Data
public class ShippingInfo {
    /**
     * 
     */
    @TableId(value = "shipping_id", type = IdType.AUTO)
    private Integer shippingId;

    /**
     * 
     */
    @TableField(value = "order_id")
    private String orderId;

    /**
     * 
     */
    @TableField(value = "recipient_name")
    private String recipientName;

    /**
     *
     */
    @TableField(value = "phone_number")
    private String phoneNumber;





    /**
     *
     */
    @TableField(value = "express_company")
    private String expressCompany;

    /**
     *
     */
    @TableField(value = "tracking_number")
    private String trackingNumber;

    /**
     *
     */
    @TableField(value = "shipping_status")
    private String shippingStatus;


    @TableField(value = "address_id")
    private Integer addressId;

    @TableField(value = "remark")
    private String remark;

    /**
     *
     */
    @TableField(value = "shipping_date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  shippingDate;

    /**
     *
     */
    @TableField(value = "estimated_delivery")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  estimatedDelivery;

    /**
     *
     */
    @TableField(value = "created_at")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  createdAt;

    /**
    /**
     *
     */
    @TableField(value = "updated_at")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;

}